package cn.cvs.service.comment;

import cn.cvs.pojo.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentService {
    void addComment(Comment comment);
    List<Comment> getCommentsByPetId(Integer petId);
    void deleteComment(Integer commentId);

    List<Comment> list( Integer state, Integer pageIndex, Integer pageSize);

    int count(Integer state);

    int update(Comment comment);


    Comment getById(Integer commentId);
}